﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package reprise.css.transitions {

    public class ColorListTransitionVO extends PropertyTransitionVO {

        protected var m_transitions:Array;

        override public function set endValue(_arg1):void{
            m_endValue = _arg1;
            m_transitions = null;
        }
        override public function setCurrentValueToRatio(_arg1:Number){
            var _local5:int;
            var _local6:ColorTransitionVO;
            var _local2:Array = (startValue as Array);
            var _local3:Array = (endValue as Array);
            var _local4:Array = (currentValue as Array);
            if (!m_transitions){
                m_transitions = [];
                _local5 = _local2.length;
                while (_local5--) {
                    _local6 = new ColorTransitionVO();
                    _local6.startValue = _local2[_local5];
                    _local6.endValue = _local3[_local5];
                    _local6.currentValue = _local4[_local5];
                    m_transitions[_local5] = _local6;
                };
            };
            _local5 = m_transitions.length;
            while (_local5--) {
                _local6 = m_transitions[_local5];
                _local6.setCurrentValueToRatio(_arg1);
            };
            return (currentValue);
        }
        override public function set startValue(_arg1):void{
            m_startValue = _arg1;
            m_transitions = null;
        }

    }
}//package reprise.css.transitions 
